/*
 *  txdnet.cn tonydon
 * 
 */
package cn.txdnet.txcms.mapper;

import cn.txdnet.txcms.domain.HotShop;
import cn.txdnet.txcms.query.HotShopQuery;
import cn.txdnet.txcms.query.ViewHotShopQuery;
import java.util.List;
import java.util.Map;

/**
 *
 * @author txdnet
 */
public interface HotShopMapper {
    int insertHotShop(HotShop shop);
    int updatePubstate(Map m);
    int updateCmtstate(Map m);
    int updatePubTime(Map m);
    int updateTime(Map m);
    int increaseHitNum(long shopid);
    int updateHotShop(HotShop shop);
    int updateCatalog(Map m);
    int deleteHotShop(long[] ida);
    int countByFactor(HotShopQuery query);
    List<Map> listByFactor(HotShopQuery query);
    HotShop queryShopForEdit(long shopid);
    HotShop queryShopForView(ViewHotShopQuery query);
}
